package gui;

import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
import javax.swing.JButton;

import gui.markers.FigureMarkerFactory;


public class RunFrame extends JFrame {
    
    public RunFrame() {
        
        CreateGui gui = new CreateGui();
        
        setLayout(new FlowLayout());
        add(gui.board);
        add(gui.btDrawElipse);
        add(gui.btDrawRectangle);
        add(gui.btDrawStraightLine);
        add(gui.btDrawLine);
        add(gui.btSelect);
        add(gui.btResize);
        add(gui.btClearLast);
        add(gui.btRedoLast);
        add(gui.btClearAll);
    }
    
    public static void main(String[] args) {
        SwingConsole.run(new RunFrame(), width, height + 100, "");
    }
    private static int width = 600, height = 600;
    public static Board board = null;
}